package com.yzdmw.toutiao.user;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class UserViewModel extends ViewModel {
    private MutableLiveData<Boolean> isSigned = new MutableLiveData<Boolean>(false);
    private List<String> settings = Arrays.asList(new String[]{"用户反馈","免流量服务","夜间模式","设置"});

    public MutableLiveData<Boolean> getIsSigned() {
        return isSigned;
    }

    public List<String> getSettings() {
        return settings;
    }

    public void setIsSigned(Boolean isSigned) {
        this.isSigned.setValue(isSigned);
    }

    public void setSettings(List<String> settings) {
        this.settings = settings;
    }
}